#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! This cash flow pays a predetermined amount at a given date.
	/// </summary>
    [Guid ("5085257F-94E0-4036-87F7-5273C2CC417C"),ComVisible(true)]
	public interface IDividend : Cephei.QL.ICashFlow
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double Amount(Double underlying);
        /// <summary> 
		/// 
		/// </summary>
		 Double Amount();
        /// <summary> 
		/// 
		/// </summary>
		 DateTime Date {get;}
    }   

    /// <summary> 
	/// ! This cash flow pays a predetermined amount at a given date. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IDividend_Factory : INativeCollection_Factory<IDividend>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IDividend, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIDividend&gt</returns>
        IVector<IDividend> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IDividend, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIDividend&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IDividend>>> CreateCellVector();
        IVector<IDividend> CreateVector (IEnumerable<IDividend> source);
        ICoCell<IVector<ICoCell<IDividend>>> CreateCellVector (IEnumerable<ICoCell<IDividend>> source);
    }
}

